Repository navigation
Update docs for Golioth Firmware SDK v0.23.0 - #497
Merged
Merged
Conversation
Golioth Firmware SDK v0.23.0 is the release the docs are updated for. The pin feeds the git clone and west init commands in the install partials. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The SDK API guides include a golioth.h header and use client, response and status types that have not existed since v0.10.0, and the settings and RPC examples lack the handles those APIs take. Use the headers, callback signatures and constants from the v0.23.0 SDK. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Golioth Firmware SDK v0.23.0 removed the synchronous request functions and renamed the _async ones to the plain names, so the guides described calls that no longer exist. Document the remaining functions and their callbacks. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The LightDB guides link to the removed develop branch of the SDK and the LightDB overview links to a Doxygen group that does not exist. Point to the LightDB samples on main and to the golioth_lightdb_state group. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Since v0.22.0 the firmware update logic lives in the samples (examples/zephyr/fw_update, examples/esp_idf/fw_update and examples/common/fw_update.c), and v0.23.0 replaced the Zephyr entry point with golioth_fw_update_run(). The SDK only provides the OTA API in golioth/ota.h. Also fix the 404 Doxygen link and mention the periodic manifest fetch added in v0.21.0. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The GOLIOTH_SAMPLE_PSK_ID and GOLIOTH_SAMPLE_PSK Kconfig symbols were removed in v0.18.0; the sample takes credentials through the settings shell. Drop the tab for SDK versions before v0.15.0 and add the nRF9160 DK external flash note from the v0.23.0 breaking changes. The credentials step now follows the first build, and the note about hardcoded credentials describes the Settings storage. The workflow summary uses the Package, Cohort and Deployment steps of the page, and the module directory is named relative to the west workspace. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The hardcoded certificate Kconfig symbols were removed in v0.18.0, so the hello sample instructions abort the build. Keep the provisioning section, add the certificate_rotation sample and the credential paths the samples read. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
mniestroj
force-pushed
the
firmware-sdk/v0.23.0
branch
from
November 17, 2026 12:37
f3323a5 to
938c8a9
Compare
|
Visit the preview URL for this PR (updated for commit cb81514): https://golioth-docs-dev--pr497-firmware-sdk-v0-23-0-jl5bro0e.web.app (expires Thu, 17 Dec 2026 17:54:11 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: f53b02bdc98ce6f5593931ec4c339aa96bac84df |
mniestroj
force-pushed
the
firmware-sdk/v0.23.0
branch
from
November 17, 2026 13:10
938c8a9 to
76187bb
Compare
CI no longer covers the nRF52840 DK with an ESP32 AT modem (since SDK v0.23.0), the ESP32 DevKitC WROVER (since v0.22.0) or the i.MX RT1024 EVK (since v0.18.0), and it covers the ESP32-S3-DevKitC-1 and the FRDM-RW612 over Ethernet and WiFi. The overview page lists the same boards. The WiFi build needs the hal_nxp blobs, as the SDK CI fetches, and west flash on the FRDM-RW612 needs J-Link firmware on its debug probe, or LinkServer. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The Zephyr samples read the Golioth credentials at boot, so the SDK README tells users to reboot after setting them, and since v0.21.0 WiFi networks are stored with the Zephyr WiFi credentials library instead of the wifi/ssid and wifi/psk settings. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The firmware update sample directory is fw_update, lightdb gained a delete sample, and v0.22.0 added certificate_rotation. The nRF91 offloaded hello sample is listed on the NCS page only. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Since SDK v0.22.0 device logs are delivered through Pipelines rather than the legacy ingestion path, so the Log tab only fills if the project has the CBOR logs Pipeline. The hello sample logs "Sending hello! n". Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Since v0.22.0 the ESP32-S3-DevKitC-1 is the only ESP-IDF board verified in CI. Point the build target and the ESP-IDF links at it, and drop the easy_install step that ESP-IDF v5.4.1 no longer lists for macOS. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
examples/esp_idf/golioth_basics was removed in v0.16.0 and the synchronous API in v0.23.0. Use the hello, fw_update, lightdb/set and stream samples and their v0.23.0 API in the flash, OTA and cloud data pages. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The ESP-IDF Tools Installer does not install into %HOMEPATH%\esp, so export.bat is not found there and cd %HOMEPATH%\esp fails. Use the ESP-IDF Command Prompt shortcut that runs export.bat, create the directory for hello_world, and give the Windows cd for the samples. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The Golioth Firmware SDK has no samples/hello, and since v0.23.0 native_sim samples read their PSK credentials from the host environment (GOLIOTH_SAMPLE_PSK_ID, GOLIOTH_SAMPLE_PSK) instead of Zephyr Settings. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Native Simulator builds Zephyr as a Linux executable, so drop the Mac/Windows toolchain advice and say that the guide needs Linux (a VM or WSL 2 on Windows). Zephyr v4.3.0 builds native boards with the host toolchain, so only reset a ZEPHYR_TOOLCHAIN_VARIANT left over from another tutorial to zephyr; unsetting it breaks FindZephyr-sdk.cmake with CMake 4.4. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The page's slug /firmware/hardware/virtual-devices/zephyr-quickstart is caught by the /firmware/hardware/:hw* redirect in firebase.json, which sends it to a path nothing is served at. Drop the slug so the page lives next to its siblings under /reference/hardware/virtual-devices/. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Zephyr v4.3.0 supports Ubuntu 22.04 and later, needs CMake 3.20.5, Python 3.10 and dtc 1.4.6, and adds libmagic to the host packages. Drop the Ubuntu 20.04 Kitware instructions. The text is shared with the NCS set-up page, so it does not name a Zephyr version. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The /latest/ links follow Zephyr's moving documentation; the docs target Zephyr v4.3.0 (NCS v3.2.3). Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Installing only zephyr/scripts/requirements.txt skips the requirements of Zephyr modules, such as esptool from hal_espressif that west flash needs for the ESP32-S3-DevKitC. `west packages pip --install` installs all of them. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
"Latest SDK installer" now points at Zephyr SDK 1.x, which needs a newer Zephyr than v4.3.0 and NCS v3.2.3 (both use 0.17.4). Name the version from docs/_versions and add the Apple Silicon (macos-aarch64) archive. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The later pages activate the virtualenv, and pip outside a virtualenv fails on Ubuntu 24.04. Say so in the global tab. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
The Windows Zephyr guide initialised the workspace in C:\ while the virtualenv and later steps use %HOMEPATH%, and the west init step downloads Zephyr and the Golioth Firmware SDK, not the Zephyr SDK toolchain. Drop the leading space that indents the NCS Windows commands. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Zephyr v4.3.0 and NCS v3.2.3 select the nrfutil runner before nrfjprog for the nRF9160 DK, so nRF Command Line Tools are no longer needed. Follow the NCS v3.2.3 prerequisites: J-Link v9.18, nRF Util, nrf-udev. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
NCS v3.2.3 installs the Python requirements of the nrf and mcuboot modules as well as Zephyr's. Add them to both tabs on Unix and Windows. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Nordic retired infocenter.nordicsemi.com. Link the nRF Connect for Desktop product page instead, and only once in the install steps, which already link it in their first line. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
golioth-zephyr-sdk is archived and its docs are frozen; boards are now verified through the Golioth Firmware SDK CI. Drop the catalog wording and the Thread claim from the Hardware page, which no longer has a catalog and has no continuously verified Thread board, and link the Settings sync status docs to the Firmware SDK reference. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
getting-started_choose-device.md and prerequisites-device.md are not imported or linked by any page, and the former still names the archived Golioth Zephyr SDK. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
SDK v0.18.0 and later releases link pages that were removed without a redirect (/reference/protocols/coap/*, api-docs/location) or that are caught by the /firmware catch-all (the SDK overview, certificate-auth). Redirect them in both hosting targets, the /firmware ones ahead of the catch-all, so links in these SDK releases keep working. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Since SDK v0.21.0 the device also fetches the OTA manifest once a day by default, so a cohort removal is eventually picked up. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
enum golioth_ota_state at v0.23.0 calls state 3 Updating, not Updated. The example payload, described as a download in progress, now uses state 1 (Downloading) instead of 3. Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
Fix a misspelt word ("for" instead of "four") and a missing space, drop
a stray "export" line that rendered as text above the Zephyr build tabs
and a repeated paragraph on the Zephyr set-up page, and name the pip
command that the Windows west step runs.
Signed-off-by: Marcin Niestroj <marcin.niestroj@canonical.com>
mniestroj
force-pushed
the
firmware-sdk/v0.23.0
branch
from
November 17, 2026 17:51
76187bb to
cb81514
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update the docs for Golioth Firmware SDK v0.23.0, and fix what the earlier
SDK bumps (v0.18 to v0.22) left stale.
_asyncsuffix and the removed synchronous API;replace
golioth.h,golioth_client_tand other removed types with thereal headers and types; use the settings and RPC handles; fix dead
developbranch and Doxygen links.golioth_fw_update_run()on Zephyr), set credentials through the shell, and note that nRF9160 DK
devices with an older fw_update sample need a full reflash.
as in the SDK README (ESP32-S3, FRDM-RW612 Ethernet and WiFi, nRF9160 DK),
WiFi credentials commands, sample lists, a note on logs and Pipelines,
and native_sim credentials through environment variables (Linux only).
helloandfw_updatesamples (golioth_basicswas removed in v0.16.0), and fixthe Windows steps.
west packages pip --install, Zephyr SDK 0.17.4, virtualenv as the default, Windowsworkspace paths, nRF Util, NCS Python requirements.
Infocenter, pin Zephyr doc links to 4.3.0, and add
firebase.jsonredirects for docs URLs the SDK links to.
Not covered:
getting-started/.../3-esp-idf/assets/still showthe old
golioth_basicssample and need to be retaken on hardware.